// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL     : http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_pengeluaran.php?wsdl
//  >Import : http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_pengeluaran.php?wsdl>0
// Encoding : ISO-8859-1
// Version  : 1.0
// (1/1/2012 6:46:39 PM - - $Rev: 28374 $)
// ************************************************************************ //

unit soap_sis_entry_jurnal_pengeluaran;

interface

uses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;

type

  // ************************************************************************ //
  // The following types, referred to in the WSDL document are not being represented
  // in this file. They are either aliases[@] of other types represented or were referred
  // to but never[!] declared in the document. The types from the latter category
  // typically map to predefined/known XML or Embarcadero types; however, they could also 
  // indicate incorrect WSDL documents that failed to declare or import a schema type.
  // ************************************************************************ //
  // !:string          - "http://www.w3.org/2001/XMLSchema"[Gbl]
  // !:integer         - "http://www.w3.org/2001/XMLSchema"[Gbl]
  // !:dateTime        - "http://www.w3.org/2001/XMLSchema"[Gbl]
  // !:float           - "http://www.w3.org/2001/XMLSchema"[Gbl]

  TInfoServer          = class;                 { "http://localhost"[GblCplx] }
  TDataJurnalPengeluaranInputRow = class;       { "http://localhost"[GblCplx] }



  // ************************************************************************ //
  // XML       : TInfoServer, global, <complexType>
  // Namespace : http://localhost
  // ************************************************************************ //
  TInfoServer = class(TRemotable)
  private
    Fserver_host: string;
    Fserver_database: string;
    Fserver_username: string;
    Fserver_password: string;
  published
    property server_host:     string  read Fserver_host write Fserver_host;
    property server_database: string  read Fserver_database write Fserver_database;
    property server_username: string  read Fserver_username write Fserver_username;
    property server_password: string  read Fserver_password write Fserver_password;
  end;



  // ************************************************************************ //
  // XML       : TDataJurnalPengeluaranInputRow, global, <complexType>
  // Namespace : http://localhost
  // ************************************************************************ //
  TDataJurnalPengeluaranInputRow = class(TRemotable)
  private
    FID: Int64;
    FUSER_ID: Int64;
    FPENGELUARAN_JENIS: string;
    FPENGELUARAN_TGL: TXSDateTime;
    FPENGELUARAN_NILAI: Single;
    FPENGELUARAN_KETERANGAN: string;
  public
    destructor Destroy; override;
  published
    property ID:                     Int64        read FID write FID;
    property USER_ID:                Int64        read FUSER_ID write FUSER_ID;
    property PENGELUARAN_JENIS:      string       read FPENGELUARAN_JENIS write FPENGELUARAN_JENIS;
    property PENGELUARAN_TGL:        TXSDateTime  read FPENGELUARAN_TGL write FPENGELUARAN_TGL;
    property PENGELUARAN_NILAI:      Single       read FPENGELUARAN_NILAI write FPENGELUARAN_NILAI;
    property PENGELUARAN_KETERANGAN: string       read FPENGELUARAN_KETERANGAN write FPENGELUARAN_KETERANGAN;
  end;

  TDataJurnalPengeluaranInput = array of TDataJurnalPengeluaranInputRow;   { "http://localhost"[GblCplx] }

  // ************************************************************************ //
  // Namespace : http://localhost/
  // soapAction: http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_pengeluaran.php/SISWA_SIMPAN_JURNALPENGELUARAN_DATASET
  // transport : http://schemas.xmlsoap.org/soap/http
  // style     : rpc
  // binding   : SERVICE_ENTRY_SISWA_JURNALPENGELUARANBinding
  // service   : SERVICE_ENTRY_SISWA_JURNALPENGELUARAN
  // port      : SERVICE_ENTRY_SISWA_JURNALPENGELUARANPort
  // URL       : http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_pengeluaran.php
  // ************************************************************************ //
  SERVICE_ENTRY_SISWA_JURNALPENGELUARANPortType = interface(IInvokable)
  ['{021BEC52-F539-2CD1-9BF5-A398A4B5677B}']
    function  SISWA_SIMPAN_JURNALPENGELUARAN_DATASET(const connection_string: TInfoServer; const daftarjurnalpengeluaran: TDataJurnalPengeluaranInput): string; stdcall;
  end;

function GetSERVICE_ENTRY_SISWA_JURNALPENGELUARANPortType(UseWSDL: Boolean=System.False; Addr: string=''; HTTPRIO: THTTPRIO = nil): SERVICE_ENTRY_SISWA_JURNALPENGELUARANPortType;


implementation
  uses SysUtils;

function GetSERVICE_ENTRY_SISWA_JURNALPENGELUARANPortType(UseWSDL: Boolean; Addr: string; HTTPRIO: THTTPRIO): SERVICE_ENTRY_SISWA_JURNALPENGELUARANPortType;
const
  defWSDL = 'http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_pengeluaran.php?wsdl';
  defURL  = 'http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_pengeluaran.php';
  defSvc  = 'SERVICE_ENTRY_SISWA_JURNALPENGELUARAN';
  defPrt  = 'SERVICE_ENTRY_SISWA_JURNALPENGELUARANPort';
var
  RIO: THTTPRIO;
begin
  Result := nil;
  if (Addr = '') then
  begin
    if UseWSDL then
      Addr := defWSDL
    else
      Addr := defURL;
  end;
  if HTTPRIO = nil then
    RIO := THTTPRIO.Create(nil)
  else
    RIO := HTTPRIO;
  try
    Result := (RIO as SERVICE_ENTRY_SISWA_JURNALPENGELUARANPortType);
    if UseWSDL then
    begin
      RIO.WSDLLocation := Addr;
      RIO.Service := defSvc;
      RIO.Port := defPrt;
    end else
      RIO.URL := Addr;
  finally
    if (Result = nil) and (HTTPRIO = nil) then
      RIO.Free;
  end;
end;


destructor TDataJurnalPengeluaranInputRow.Destroy;
begin
  SysUtils.FreeAndNil(FPENGELUARAN_TGL);
  inherited Destroy;
end;

initialization
  InvRegistry.RegisterInterface(TypeInfo(SERVICE_ENTRY_SISWA_JURNALPENGELUARANPortType), 'http://localhost/', 'ISO-8859-1');
  InvRegistry.RegisterDefaultSOAPAction(TypeInfo(SERVICE_ENTRY_SISWA_JURNALPENGELUARANPortType), 'http://ekoindri.com/radphp/research/soap_sis_entry_jurnal_pengeluaran.php/SISWA_SIMPAN_JURNALPENGELUARAN_DATASET');
  RemClassRegistry.RegisterXSClass(TInfoServer, 'http://localhost', 'TInfoServer');
  RemClassRegistry.RegisterXSClass(TDataJurnalPengeluaranInputRow, 'http://localhost', 'TDataJurnalPengeluaranInputRow');
  RemClassRegistry.RegisterXSInfo(TypeInfo(TDataJurnalPengeluaranInput), 'http://localhost', 'TDataJurnalPengeluaranInput');

end.